pack-objects: move revs out of get_object_list()