Improve parsing of global npm packages

- Rely on npm --parseable output
- Use cut instead of awk
- grep (inverted) for exact match of npm (otherwise you might filter packages that contain npm word in them)
- clean empty lines with grep as well