Stop looking up things in #lookup_variable when the context chain terminates.