Corrects require.resolve to look up node_modules chain properly. Fixes #161