Factored out public getUniqueClasspathElements()