Don't crash if dependencies were not passed in pkginfo.

Please test better. `npm shrinkwrap` doesn't work on a `package.json` with empty or absent `dependencies`.