Update main.php

bugfixing last change where creating vms installation dir