Applied some pylint warning / error fixes

You could also write:

```python
if (not self.agentConfig.get('CouchDBServer')):
    something()
```

or if you want to explicitly test for `''`:

```python
if (self.agentConfig.get('CouchDBServer', '') == ''):
```

Don't know if it works in python2.4 though.