Fix improper container configuration for service locator