Update main.php

Creating the vms installation dir if it doesnt already exist.