Auto partitioner miscounts partitions on APM-labeled disks
DiskMan counts all partitions using libfdisk.
The Qt autopartition logic uses DiskMan's count to create new partitions on the disk when "use available space" is selected. However, libparted doesn't count any Apple_Free at the end of the disk as a real partition. This causes installation to fail with a disk inconsistency error.