A small bug fix for gitar.sh

I accidentally broke gitar.sh right before I added it.  This is to
fix the untested changes I made.
Fixed some preflight checking for gitar.sh

Placed the checking of a directory in the wrong place.