[thin_dump] Fix regression where mappings for all devices were being listed in every device.