Fix requests to jar URIs always being treated as internal

This fixes it for me, but I'm not sure how it affects extensions that require access to external resources. Can anyone verify that this doesn't cause any issues for them?