fix for broken salt-ssh key_deploy
Merge pull request #10667 from endyman/fix_for_keydeploy

fix for broken salt-ssh key_deploy