[COOK-4300] Pecl is preferred over pear

Return false if pear was found and do not search for pecl