[PLAT-3494] Use freemarket classpath loading of template as directory is …