Revert "Update the matching process for package_installed"

This reverts commit 8db51b931240dfe9fd5dfd29a581340d0e50c767.

Need grep command for stdout
Merge pull request #4 from linyows/revert_patch

Revert "Update the matching process for package_installed"