Fix a NPE when stopped VMs are present in the solution

Change-Id: I38f621c167c673e59405cb819156874064c18eb9
Signed-off-by: Martin Sivak <msivak@redhat.com>