Fix check_template_paths for relative pathnames

Fixes #243 

The `path` variable isn't set when the supplied path is relative. This PR fixes that, setting the `path` variable for both relative and absolute paths.