Handle salt-ssh errors and similar in publish.py wrapper
Use the __master_opts__ config dir if available (in wfunc)