fix for GeneratorInterface/LHEInterface/test/testPythia8_cfg.py

see the description in the commit message of 5d06c7d