Fix --branch to checkout before rebasing.