git-completion.bash: silence "not a valid object" errors