replace_refs does not mute without a flag