[metadata_checker_t] Some more work on the devices_visitor.