[COOK-2926] fix pear package detection when installing specific version

When installing a specific pear package version, the package is not recognised due to a faulty regexp.

See: http://tickets.opscode.com/browse/COOK-2926