Fix upload_tmp_dir test

Test failed even if open_basedir = "/var/www" and upload_tmp_dir =
"/var/www/tmp"