Added some exception handling to the buildBrunchConfig.py script