Fix potential NPE.
Don't overwrite external context in Log4jContextFactory.

  - This is consistent with the other two getContext() methods below.