[TIMOB-16620] Fixed bug where creating an app with a template path that didn't match the current sdk path would throw a JS error.
Merge pull request #5661 from cb1kenobi/timob-16620

[TIMOB-16620] Fixed bug where creating an app with a template path that ...