Handle bad objects in `scc rebase`