erp5_upgrader: Fix code to run checkConsistency to a specific constraint_type

constraint_type should be a string instead of a list.