add extra check that of run stand-alone, we're actually in the git root dir (should never be a problem when run as actual commit hook)
typo, fixes #2