Fix Task.GetErrorInfo typecast crash
Fix Task.GetErrorInfo typecast crash

makunterry/packer-builder-xenserver,simonfuhrer/packer-builder-xenserver-1,simonfuhrer/packer-builder-xenserver-1,rdobson/packer-builder-xenserver,conceptboard/packer,june07/packer-builder-xenserver,june07/packer-builder-xenserver,conceptboard/packer,dongyuzheng/packer-builder-xenserver,xenserverarmy/packer,makunterry/packer-builder-xenserver,fr34k8/packer-builder-xenserver,dongyuzheng/packer-builder-xenserver,xenserverarmy/packer,rdobson/packer-builder-xenserver,fr34k8/packer-builder-xenserver