Update GitCompare and DistDiffTask classes to support added dir for lear...

Currently, the new `GitCompare` and `DistDiffTask` classes do not support the new learning-paths structure. I've edited the code to support the new structure.