Driver core: make bus_find_device_by_name() more robust