Merge pull request #6302 from flysee/main

Fix the proxy_bypass_registry function all returning true in some cases.