updated local bus raise to work if the service locator has a current context