Don't attempt to checkout a branch named 'HEAD'