Fix Jdk url parsing, ignores .config/, .local/ and .pki/.