test-audit-path: fill in missing output for no-symlink case
It looks like this was meant to go with
989e884d1be9.
hook: add a 'hashook' function to test for hook existence
Preparing the data for some hooks can be expensive. Add a function to check if
a hook exists so we can skip useless preparation if no hook is configured.