Allow git-checkout when on a non-existant branch.