rev-list: fix finish_object() call