[PATCH 6/9] Make get_container work even if there are duplicate names.