ModuleRegistry: normalised paths are checked to be non-null explicitly; the documentation is slightly refined.