fetch-pack: convert to struct object_id