fix vsphere when broken build

lowercase; comment
Merge pull request #947 from apagac/template_upload_bug_fixes

Template upload: fix vsphere when broken build