Exit in case parsing config file fails.

This fixes #3.