remote.c: Fix overtight refspec validation