At the moment failingPathes can only have one entry, right? The iteration is stopped after the first failure. Do we really need the map? Now the MergeFailureReason is in this Map belonging to one path, but I think that there is in fact only one MergeFailureReason for the whole merge?