Make sure we are in the correct directory for all git operations