More accurate detection of pecl package vs pear packages