Fix parsing SSH extra args in multi-machine envs [GH-1545]