stack/erp5: fix NameError in IOS test

This repairs a NameError introduced in 397726e1 (erp5/neoppod/slapos:
Support for python3 from aurel/zope4 branch., 2022-02-03) that was
causing ERP5-IOS test suite to fail in loop.
1 job for 1.0
Status Job ID Name Coverage
  External
failed ERP5.StandaloneDeploymentScriptTest-Debian.Buster