Fix pear_dir using readlink to access 'true' location of symlinked dir