fix bug in npm install with packageDir

Hi Michael,

if you have the option "packageDir: common/dir" with the option "npmInstall: true" the package.json in the directory "common/dir" should be read by npm  and not the package.json of root directory.

Kind Regards

Wilhelm