check to see if a template is a local path