Make getModulePaths public
Revert getModulePaths changes