Resolved Issue COOK-2298 - webpi will not install anything due to logic bug

Changed the logic in the installed? method in the provider/product.rb.
The grep command returns an array of items matching the regex.
In the event that the returning the array is not empty, then the product must be installed.