halonadm.py: fix exception testing requrement