CLI: fixing the metadata listing.