improved a bit the error management in cloud session export/import feature