Remove duplicated sources for packages