Scripts: aotspoller: Fix for last change when a device has no successful poll yet

Signed-off-by: angelsl <hidingfromhidden@gmail.com>