directory: fix templates importing

still need to provide full path to templates