Fix NPE.
Don't crash when encountering unknown URLs.