Ensure master branch is active before doing a git pull