Improve error message when JarFile encounters a compressed nested jar

Closes gh-1643
Merge branch '1.1.x'