[Ide] Removed some usages of obsolete methods & provided a safer way
to find the source project for a given type system type.