[SSSD] [sssd PR#5226][+Waiting for review] python/pysss_nss_idmap: check return from functions