check local context in -initializeEagerSingletons

Look for an entry in the local context in addition to the global context
when registering eager singletons.