fixed: Asserting on empty protocol is too extreme

And it fails with file://...