Add check for correct arg passing in salt-ssh

Fix #9965