fix for #18778 (salt-ssh tries to copy file to the filesystem root)

Hi folks,

this is fix for #18778 (salt-ssh tries to copy file to the filesystem root). Please have a look.

Thanks,
Kirill.