Make "git log" exit properly if not in a git archive