[test] Bug 966668 - find_all_cartridges can return dups

This commit fixes bug 966668: CartridgeCache#find_all_cartridges can
return duplicate matches for non-Red Hat carts.