Here you can use the ```!git_error``` and move the goto after the ```for```.

rb_refspec is not fetched from the refspecs array, it's why the tests brake.