Only check whether namespace is present if it has a non-empty value
Only check whether namespace is present if it has a non-empty value

PiperOrigin-RevId: 436693964

tensorflow/datasets,tensorflow/datasets,tensorflow/datasets,tensorflow/datasets,tensorflow/datasets