utils/name-devices: Added special case for two devices.