This release fixes a regression that was introduced in the previous
release, where an infinite loop could occur when an object was not
found in the packfile and `core.trustfolderstat` was set to `false`.
Bug: Issue 10695
Change-Id: I11c1a5659f3d495fd78d3cdbc1733b816927a598