moved setting of path for ssh task to correct place in sequence

Fix for #18