Returns what is in the directory slot, so a test that stubs it can put back what was there.
the installed hooks, or null
Returns what is in the directory slot, so a test that stubs it can put back what was there.