Fail earlier on improper configuration
Ensure we have a string
Merge pull request #25 from tschaub/handle-undefined

Fail earlier on improper configuration.