fix for npm bug #6951 - npm ERR! c:\node\node_modules\XXX is not a child of C:\node

https://github.com/npm/npm/issues/6946