Replace MetadataProviderException with more specific DatasetExistsException.