Title: #1606: Uninstalling IPA requires on being in a existent working directory
Presently freeipa tests current working directory with os.getcwd()
which throws exception when called on non-existant directory.
Solution can be to call
os.chdir("/root") and set self.cwd variable accordingly.
`# mkdir test-delete`
`# cd test-delete`
`# rm -rf /root/test-delete //From console-2`
`# ipa-server-install --uninstall`
`# cd /root`
Still need to address installation of ipa-server from deleted dir.
Can handle in seperate PR.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1606/head:pr1606
git checkout pr1606