Silence stderr of npm and ruby when getting paths.