remote: convert push refspecs to struct refspec