Make sure sync_repo is run in the right directory