container.addSingleton(ServerMetadata.class);
container.addSingleton(org.sonar.batch.ServerMetadata.class);
container.addSingleton(TempDirectories.class);
container.addSingleton(HttpDownloader.class);
container.addSingleton(UriReader.class);
<BUG>container.addSingleton(PluginDownloader.class);
for (Object component : boostrapperComponents) {</BUG>
if (component != null) {
container.addSingleton(component);
}

container.addSingleton(ServerMetadata.class);
container.addSingleton(org.sonar.batch.ServerMetadata.class);
container.addSingleton(TempDirectories.class);
container.addSingleton(HttpDownloader.class);
container.addSingleton(UriReader.class);
container.addSingleton(PluginDownloader.class);
container.addSingleton(BatchSonarCache.class);
for (Object component : boostrapperComponents) {
if (component != null) {
container.addSingleton(component);
