Query for existing objects using a smaller packet size
Summary: This should fix the second biggest contributor to T1280.
Test Plan:
loading a new repository with some pull requests shows the query
being split up
Reviewers: Reviewers
Differential Revision: https://forge.softwareheritage.org/D554