RLP-4146
Make error handling of config file processing a bit more robust and informative.