Configuration: raise error on unknown config option
Small error handling refactor