improved error ouput if config key does not exist