[Freeipa-devel] [freeipa PR#1182][opened] Use os.path.isfile() and isdir()