Corrected use of registry/substPaths