Fix package existance checks

On my chef client, the npm_package executes were always firing, even
when the npm package was already installed.

This simplifies the `not_if` and `only_if` checks.