fixed the filesystem loader cache when a template name exists in several namespaces