Fix an invalid free() call that could occur when the "info" command was
used with an invalid artifact ID.  Ticket [aa8ba0fffa].