Fixes https://gitlab.com/kicad/code/kicad/-/issues/18091
This is important since these get passed between modules at runtime