Fixed returned protocol command parameter

If protocol command parameter is empty, return an empty string rather than something else.