[HookConfiguration] Make 'head_commits' nullable
Merge pull request #7 from widop/f-validation

[HookConfiguration] Make 'head_commits' nullable