Also catching AttributeError in main/config.py