fix another bug for create/run VM by osType.
now works for both client & server.