[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.