postinst: call `cgpt repair` before other cgpt operations