Error message improve when if dataset is only on tape. Fixed #4459