getIngector should not create the injector if null