Title: #3088: [Backport][ipa-4-6] ipactl restart: fix wrong logic when checking service
This is a manual backport of PR #3084 to ipa-4-6 branch.
Manual backport was required because the file name changed between master and ipa-4-6.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3088/head:pr3088
git checkout pr3088