SerialDependencyResolver#buildNodeGraph: module registry is used more efficiently.