upload-pack: minor clean-up in multi-ack logic