Better error handling when reading existing config values.