Add a test for npm-shrinkwrap crashes with empty dependencies
Don't crash if shrinkwrap-dependencies were not passed in pkginfo

This prevents npm from crashing on shrinkwrap if a `package.json`
has no dependencies defined.