Because 0 is default value for esx host we need to test for 0 before we
assign the esx_host parameter