[TIMOB-13919] Fixed a crash when invalid module paths are passed to ti-api-provider