Fix to git pull script to alleviate permissions issues when pulling