When would libgit2 return a zeroed oid?

Was this change triggered by a bug you encountered?