remote: convert match_explicit_refs to take a struct refspec