A group-theoretical approach to disjoint paths in directed graphs