Fix to minion.py

Fix for an exception that was causing the salt minion not to start up properly.