This should probably be rewritten to actually check OID on old/new tables so that we don't accidentally execute repack during a dry run.
Patch from Beena Emerson.
Changes to repack_indexdef() had broken this test.