Update template.js
Update template.js

Handle situation where not itemdata is found for the appid
Esri/application-boilerplate-js,brudo/application-boilerplate-js,shekhawatravi/application-boilerplate-js,brudo/application-boilerplate-js,Ricardh522/application-boilerplate-js,shekhawatravi/application-boilerplate-js,Ricardh522/application-boilerplate-js,Esri/application-boilerplate-js