CLOUDSTACK-7497: UI > VM Wizard > select template > reset local variable before retrieving selected template object.