fix git pull issues in update_server.sh.

git rev-parse only works if you git fetch or git remote update first.