Replace logging with a simple throw

This way, configuration problems will be muuuuch easier to notice.

Change-Id: I1172a75967b150a6dc3001b8a8ff354317e2e434