autogen tmplate's l_have_items: Jinja variable's scope extend beyond in an inner block