Fix two incorrect metadata edge cases:

 - Metadata for installed artifacts was missing when two or more
   versions of the same bundle name were in the reactor
 - Metadata pointed to the wrong artifact on disk when a feature
   had the same bundle name as a plugin in the reactor

Signed-off-by: Mat Booth <mat.booth@redhat.com>