If there something recognisable at the end of the list, even if it is empty space where the name of the server should be, then you could look for that. To check for empty space, read the image and pass it to an action like 'Image is uniform colour' or 'Image contains black'.