node: fix NpmNotInstalled requirement

With some older versions of node, apparently the npm directory itself
is not a symlink into the node keg but the npm binary is.

Fixes #17668.