This pull should not remove code, therefore it is needed to add addtional conditionals to calm down pylint beacuse of unreachable code. See: https://pagure.io/freeipa/issue/7669 Signed-off-by: Thomas Woerner <twoerner@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>