transport-helper: factor out push_update_refs_status