Title: #1276: [Backport][ipa-4-6] ipatests: fix circular import for collect_logs
This PR was opened automatically because PR #1255 was pushed to master and backport to
ipa-4-6 is required.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1276/head:pr1276
git checkout pr1276