Bug in git error handling.