workaround for https://github.com/vector-im/riot-web/issues/3633.
workaround for https://github.com/vector-im/riot-web/issues/3633.

unsure our vector url match could ever return undefined, but apparently it is...

aperezdc/matrix-react-sdk,matrix-org/matrix-react-sdk,aperezdc/matrix-react-sdk,aperezdc/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,aperezdc/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk