Bugfix wrong VM selection
* if statement was wrong and always the first machine in lab.conf was
taken