Keep "git --git-dir" from causing a bus error.