fix PED_PARTITION_METADATA check