The hook list source of truth is the filesystem.

Instead of maintaining an internal hash that must stay in sync with
the filesystem, we just do one directory glob, and that becomes the
canonical list of hook templates.