Update `JarURLConnection.get()` to guard against the wrong nested JAR being used as context. Closes gh-11367