Make absolutely sure we're in the right place when executing commands that depend on CWD

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Merge pull request #3717 from lbt/update_docs

Make absolutely sure we're in the right place when executing commands th...