Verifies that a node_modules dir satisfies a package.json file