Publish.WinForms: Fixed NullReferenceException