map -is:exact -package:base -package:basement -package:filepath package:foldl is:exact

Fold pairs into a map.