Fixes #58 return non-zero status on error

This follows the same pattern in `commands/auditPackage/index.js`.