fixup: fix hooks unit tests
fixup: fix hooks unit tests

The previous commit c743c7b03f13fd6aae37ec226a344c0ff892f698
broke the hooks unit tests.

GitHub was not configured to require passing tests for master merge.
Didn't notice it locally due to Go's test caching.
I amended this before pushing this change.

zrepl/zrepl,zrepl/zrepl