I kept the `for (c <- classPathElementsToAdd.flatten)`, to be honest the `yield` was a remanence of a different approach.