Check that the refspec matches before modifying the out buffer