Fixed ContextErrorExcepton when no configuration was present.