squelched error message when not in git directory