Merge "Check validity of partition for getvar:partition-type"