Fix eventlisten.py for minion event bus

The sock_dir modification was happening after the minion opts had
already returned.  Just make sure it happens before any return
statement.
Merge pull request #8857 from basepi/minioneventlisten

Fix eventlisten.py for minion event bus