Fix bad exception message in config.py