Prevent Potential SegFault

:Release Notes:
The output from PrvResolveContext is dereferenced before it is null
checked.

:Detailed Notes:
This is a very low probability event, especially as the global context
is the one most likely to be in use - and that is always defined.

:Testing Performed:
Compile only

:QA Notes:

:Issues Addressed:

Open-webOS-DCO-1.0-Signed-off-by: Keith Derrick <keith.derrick@lge.com>

Change-Id: I0cffadb85b41b758a9cf7a863924345477802068
Reviewed-on: https://g2g.palm.com/3971
Reviewed-by: DCO Verification
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Tested-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Gayathri Srinivasan <gayathri.srinivasan@lge.com>