Catch LookupError in get_device_components