Rename one parameter of the project hooks API to the correct value.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/26291