SONAR-4069 Make some components only available when there is a project