Only attempt to iterate through VPS list query results when the result isn't empty
Fix a warning
Fix another notice