package.utils: Drop unneeded hashes from download computation
This should fix the current frequent issue on the debian loader [1]
- loader retrieve badly the length information from the content-length header
- We check for download size with that incorrect data
- so download call function fails because it checks the local size and it's difference
all of this for the sha1_git computation which needs the length. But we do not really need that hash (nor blake).
So simplifying by removing will actually fix [1]
Test Plan
tox
Migrated from D2486 (view on Phabricator)