Bug 1021472: Correctly migrate cart dependency dirs