fixed issue #10 where create pub.svc fails when using VM name