How to prevent SceneIDMap from being created constantly when baking reflections probes?

It seems that any HDRP project created prior to a particular version will carry forward with a bug forever: Baking reflection probes creates a hidden SceneIDMap object with a missing script, which results in warnings in the inspector. You can run the cleanup command to get rid of the SceneIDMap, but as soon as reflection probes are baked again, it always comes back.

Why does the SceneIDMap keep getting created, even when I’m on the latest version of HDRP in my project? I’ve upgraded this project from an older version, and I think I originally created it under Unity 2019. Am I doomed to always be cleaning up SceneIDMap forever?