add logging for getTemplatePathOnDisk