transport: prevent the transport determination mechanism from segfaulting when being passed an url starting with an unknown prefix