storage.retry: Fix objects loading when using generator parameters
This will fix related retry error [1]
[1] https://sentry.softwareheritage.org/share/issue/ddbbdd3c235b40ca826bf2c820989f14/
Related to cc29708564c35575f569e863f028a480a9905cf4
Related to D2543