deps: move recursive_deps_tree into Homebrew module