Fix npm.list_ breaking with newer versions of npm