Fix typo -- config is a dictionary

`self.config` is a dictionary, not an object. References to `self.config.Cmd`
should be `self.config['Cmd']`.