Fix registerExtensionContributions()
Created by: lguychard
Fixes #4171
Fixes a regression introduced in #4025: the observable created and registered by registerExtensionContributions()
would only emit the contributions of the latest registered extension, instead of emitting the contributions of all active extensions.