DI locator into the hook manager
To reduce usage of the global config.Config variable we introduced storage.Locator abstraction that knows how to find absolute path to the repository using it's storage name. Now we replaces usages of functions that depends on the global var with call to the injected into the component locator abstraction.
Part of: #2699 (closed)