SONAR-2227 Do not install incoming dependencies that are not installed