command/install: fixes bugs about shrinkwrap; fixes checking logic; fixes #338
command/install: fixes bugs about shrinkwrap; fixes checking logic; fixes #338

cortexjs/cortex,rhgb/cortex,cortexjs/cortex,rhgb/cortex