Fix for php-cli, drush and custom open_basedir.