Wrote SegmentPackageWrangler.revert_to_repository() tests.