Don't fail in a new repo without a HEAD