fix issue where user has no virtual machines defined, but startup script still tries to iterate over empty file.