Title: #5594: [Backport][ipa-4-8] pylint: fix inconsistent-return-statements
This PR was opened automatically because PR #5582 was pushed to master and backport to
ipa-4-8 is required.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5594/head:pr5594
git checkout pr5594