Added in check to cover  git pull failing on non-git folders