system-linux: improve handling of device rename