platform: don't create udev client if udev isn't used
Inside container, where we don't use udev we don't receive any events from udev client. Thus the client only returns devices when iterating it initially, but no events for newly added devices that appear later. Thus, inside containers we don't want to create a udev client at all.
Showing with 38 additions and 52 deletions