Don't raise a warning when git cat-file fails, it's expected to.

Quick fix for issue #2885.