The visibility of the Unity registry packages is controlled by the editor manifest file which is managed by the release managers. The file can be found under: Unity.app > Contents > Resources > Package Manager > Editor > manifest.json
You will notice all the deprecated packages mentioned in the bug description are part of the _isDiscoverable_ packages from the editor manifest.