fix git check-ref-format call

fix quotes in git check-ref-format call, otherwise it's useless.

What's the deal with the following construct? isn't it the same as if !system ?? If not I can put it back.

```
if !system("...") || $?.existatus > 0
```