Fix #674: graceful exit when having config file issues