php cookbook: fix pear package detection when installing specific version