dependencies: fix common tree recognition