map -package:containers -package:base-compat -package:base-compat-batteries package:foldl is:exact

Fold pairs into a map.