(PUP-2361) Make shellquote function cope with empty arguments

When passing empty variables to the shellquote function,
it inserts escaped quotes into the result.