bridge: Fix package with "name" in two directories
bridge: Fix package with "name" in two directories

Currently a package with a "name" causes the package loading
logic from from various package dirs to fail. Instead of the
first one (ie: ~/.local/share/cockpit) being used, the
last instance of a package will be used (ie: /usr/share/cockpit)

Closes #4011
Reviewed-by: Dominik Perpeet <f7830b2723a5db4fc185058b06cfab4b89a38da9@redhat.com>

larsu/cockpit,deryni/cockpit,SotolitoLabs/cockpit,dperpeet/cockpit,larskarlitski/cockpit,cockpituous/cockpit,Scribery/cockpit,xhad/cockpit,andreasn/cockpit,petervo/cockpit,matobet/cockpit,Scribery/cockpit,garrett/cockpit,dperpeet/cockpit,michalskrivanek/cockpit,vanloswang/cockpit,mareklibra/cockpit,arilivigni/cockpit,arilivigni/cockpit,vanloswang/cockpit,vanloswang/cockpit,larsu/cockpit,martinpitt/cockpit,Scribery/cockpit,harishanand95/cockpit,stefwalter/cockpit,SotolitoLabs/cockpit,mvollmer/cockpit,petervo/cockpit,stefwalter/cockpit,michalskrivanek/cockpit,Scribery/cockpit,deryni/cockpit,mareklibra/cockpit,stefwalter/cockpit,sgallagher/cockpit,harishanand95/cockpit,martinpitt/cockpit,sgallagher/cockpit,dperpeet/cockpit,SotolitoLabs/cockpit,moraleslazaro/cockpit,harishanand95/cockpit,arilivigni/cockpit,matobet/cockpit,larsu/cockpit,cockpit-project/cockpit,moraleslazaro/cockpit,larsu/cockpit,deryni/cockpit,michalskrivanek/cockpit,xhad/cockpit,dperpeet/cockpit,garrett/cockpit,andreasn/cockpit,mareklibra/cockpit,moraleslazaro/cockpit,cockpit-project/cockpit,larskarlitski/cockpit,arilivigni/cockpit,harishanand95/cockpit,xhad/cockpit,petervo/cockpit,larsu/cockpit,garrett/cockpit,matobet/cockpit,michalskrivanek/cockpit,dperpeet/cockpit,cockpit-project/cockpit,sgallagher/cockpit,matobet/cockpit,mareklibra/cockpit,mareklibra/cockpit,michalskrivanek/cockpit,garrett/cockpit,cockpituous/cockpit,deryni/cockpit,michalskrivanek/cockpit,andreasn/cockpit,petervo/cockpit,larskarlitski/cockpit,stefwalter/cockpit,martinpitt/cockpit,arilivigni/cockpit,petervo/cockpit,cockpit-project/cockpit,martinpitt/cockpit,mvollmer/cockpit,sgallagher/cockpit,vanloswang/cockpit,larsu/cockpit,mareklibra/cockpit,vanloswang/cockpit,deryni/cockpit,mareklibra/cockpit,xhad/cockpit,cockpituous/cockpit,andreasn/cockpit,mvollmer/cockpit,SotolitoLabs/cockpit,SotolitoLabs/cockpit,sgallagher/cockpit,arilivigni/cockpit,larskarlitski/cockpit,petervo/cockpit,dperpeet/cockpit,cockpituous/cockpit,Scribery/cockpit,xhad/cockpit,cockpit-project/cockpit,xhad/cockpit,mvollmer/cockpit,martinpitt/cockpit,dperpeet/cockpit,deryni/cockpit,andreasn/cockpit,andreasn/cockpit,moraleslazaro/cockpit,mvollmer/cockpit,andreasn/cockpit,moraleslazaro/cockpit,harishanand95/cockpit,arilivigni/cockpit,michalskrivanek/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,vanloswang/cockpit,Scribery/cockpit,sgallagher/cockpit,sgallagher/cockpit,deryni/cockpit,matobet/cockpit,larskarlitski/cockpit,stefwalter/cockpit,cockpituous/cockpit,moraleslazaro/cockpit,harishanand95/cockpit,cockpituous/cockpit,stefwalter/cockpit,xhad/cockpit,matobet/cockpit,SotolitoLabs/cockpit,harishanand95/cockpit,petervo/cockpit,garrett/cockpit,larskarlitski/cockpit,vanloswang/cockpit,moraleslazaro/cockpit,Scribery/cockpit,larskarlitski/cockpit