fn hooks_dir_from(listing: &str) -> Option<PathBuf>
The winning core.hooksPath in git config --show-scope --get-regexp output (<scope>\t<key> <value> per line, the lowest-precedence scope first).
core.hooksPath
git config --show-scope --get-regexp
<scope>\t<key> <value>