Only commits on master will push NuGet packages.
Add EventHandlerEx.SafeInvoke