repack_without_ref(): silence errors for dangling packed refs