[COOK-2926] Use grep_for_version to detect if package is pear/pecl.

grep_for_version will validate that the package is
in the pear/pecl channel without failing when
the version being installed isn't the latest
available.