Fixed wrong return statement

Made some fixes to make pylint happy, plus fixed https://github.com/malinoff/salt/commit/a87ec1a5e6d6b9bdee521e918c714a027f7d17e8#L0R561

```ret``` variable is not present if some error occurs. Which leads to this traceback:
```
Process Reactor-4:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/salt/utils/event.py", line 416, in run
    self.call_reactions(chunks)
  File "/usr/local/lib/python2.7/dist-packages/salt/utils/event.py", line 403, in call_reactions
    self.wrap.run(chunk)
  File "/usr/local/lib/python2.7/dist-packages/salt/utils/event.py", line 440, in run
    return ret
UnboundLocalError: local variable 'ret' referenced before assignment
```