Fix: if assoclist empty the agent crashes and no more devices are consulted