Fix incorrect export_env_dir call