Skip network connectivity test when no TestVM present

Change-Id: Idd76ac2f7baf0d22c1f950fe4e4cbdab5ceb280f
Closes-Bug: 1348187