Skip cases in which dependencies do not form a tree