[BUGFIX] Support for templateRootPath not being in an extension

Fixes: #215
Fixes: #216