Temporary fix for undefined method `refspec' error