rebase --update-refs: avoid unintended ref deletion