Fixed bug with remote_ssh execution