Fix superenv arch flag handling

Fixes #21943.
This is a backreference, not an embedded NUL