upload-pack: lift MAX_NEEDS and MAX_HAS limitation