Check REQUEST_CONTEXT.context exists before accessing it.

LMS-11226
@benpatterson ?