in case remote command's output doesn't end with a new line, return it as it is