Fix hostname settings in windows extended script (#659)
Fix hostname settings in windows extended script (#659)

- if the hostname is set in the vm.args file, preserve it
- if it is not set, try to set it from env vars
- if the env vars are not set, leave it blank
erlware/relx,tsloughter/relx,lrascao/relx