tpl: added support for driver prefix inside template name