Don't switch branches unless --branch is given.