Fix usage of executing command on remote system