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.
(https://jira.talendforge.org/browse/TMDM-7695)