Fix default ServiceContainer bug

Bug that the default ServiceContainer was always constructed, even when
a ServiceContainer was explicitly provided was fixed