config: Verify that type assertions are valid
Merge pull request #191 from crawford/panic

config: Verify that type assertions are valid