Avoid duplicated dependencies with different sources