Title: #6011: [Backport][ipa-4-9] migrate-ds: workaround to detect compat tree
This PR was opened automatically because PR #6008 was pushed to master and backport to
ipa-4-9 is required.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/6011/head:pr6011
git checkout pr6011