Bug fix _getTemplateListByType for developer mode