Wrap an empty element of @$cmd with quotes, too.

Since @$cmd is being turned into a string, all elements need to be
identifiable in the resulting string.  Similar to the case of an element
solely consisting of whitespace, an empty element needs to be quoted in
order to be properly represented in the resulting string.

Signed-off-by: James McCoy <vega.james@gmail.com>