Returns the installed directory hooks, so a test that stubs them can put them back.
the hooks, or null
Returns the installed directory hooks, so a test that stubs them can put them back.