Reuse sourceExists and prependPaths