When loading pkg metadata, do not override metainfo values with NULL

Some pkg-metadata values can originate from AppStream metadata. We don't
want to override these when loading pkg-metadata, unless we actually
have them defined there.