We attempt to get 75 commit hashes via git log, but this only gave 10 hashes in a CI run (see #16662). Better logging may help solve this error if it occurs again in the future.
git log