osd: fix repair_object

This broken with the recent recovery refactoring...