Fix bug in bin/gitcheckstatus.sh