Fix npm.list_ breaking with newer versions of npm

Newer versions of NPM have changed the return code when calling npm ls <pkg> and <pkg> doesn't exist.