fix a crash when dependencies or devDependencies do not exist in package.json
Merge pull request #2 from Rayman/master

fix a crash when dependencies or devDependencies do not exist in package...