BeanLookupBindings: check appCtx != null explicitly, rather than using
assert.