pack-refs: rename handle_one_ref() to pack_one_ref()