mdwsetup.py: Fix unbound variable reference in error case.