templateStuob fix for figuring out if template is absolute path