Update the matching process for package_installed

Don't have need to use the 'grep'.
Realized with only 'npm ls #{pkg}'.