Handle exceptions during config file parsing

Hello, this mini patch handles uncaught exceptions that can arise when the `ansible.cfg` file is malformed in some way, e.g., no section headers, invalid lines etc.