Also catching AttributeError in main/config.py

Also catching AttributeError (and exit on any others) in `main/config.py` to address a regression seen after #175
+1 @lipis