CLOUDSTACK-6672: [Automation] NPE observed while listing system vms

fixing NPE