Account for refspec matching when triggering the job