It is non-obvious why this code fails in jammy as on cursory inspection the code is identical between the two branches.
It is non-obvious why this code fails in jammy as on cursory inspection the code is identical between the two branches.