[SSSD] [sssd PR#5636][edited] Improve assertion when verifying paths for Python modules