Fixes #276 - Pipeline hooks not being invoked when GetUndispatchedCommits