OOIION-741: simplify get_context() lookup