Apex: fix deploy and test run job to pass empty refspec