Adding method "requireResolvePath" which can be used to resolve paths related to Dependency using rules of require.resolve(...)