Title: #3087: [Backport][ipa-4-7] ipactl restart: fix wrong logic when checking service
This PR was opened automatically because PR #3084 was pushed to master and backport to
ipa-4-7 is required.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3087/head:pr3087
git checkout pr3087