dev/builds: Fixed git pull failure detection

This appears to have been broken since the switch from CVS to git.