Default JDK system provider has a funny way of resolving URIs containing their scheme part