Do not crash if the stream is initialized with a NULL URL.