Correctly check for NPM version. Better output