handle incorrect data type in list lookup plugin Fixes #35481 test to ensure that loops properly handle incorrect datatypes Signed-off-by: Adam Miller <admiller@redhat.com>