Shouldn't fetch against a specific branch

When my scheduler doesn't specify a branch, `branch` here will default to `HEAD`. This is an issue when the commit SHA1 I want to build is not in whichever branch `HEAD` is looking at, as `git fetch` respects the branch specified (by this code, not by me).