git-reject: fix numerous bugs.