My stab at fixing JRUBY-7122

This fixes the issue for classpath:/ "relative" paths which by their very nature are always absolute. The same issue could be happening for some other URI schemes so I'm not sure if a special case for "classpath" is the right fix.