fix broken `getallvms.py`

A refactor seems to have broken the sample, `vm` was renamed to `virtual_machine` and since there are no tests nobody caught this.
Merge pull request #84 from mriehl/patch-1

fix broken `getallvms.py`