TMDM-7695: "bug in condition for tMDMinput"

Fix incorrect condition leading to extra path computation when a reusable type is used several types within entity *and* used in condition (5.5 branch version of 5.6+ fix).
(https://jira.talendforge.org/browse/TMDM-7695)