Traceback (most recent call last):


 "/Users/drew/fishtown/dbt/core/dbt/clients/jinja.py", line 104, in call

return macro(*args, **kwargs)


 "/Users/drew/fishtown/dbt/env/lib/python3.7/site-packages/jinja2/runtime.py", line 575, in __call__

return self._invoke(arguments, autoescape)


 "/Users/drew/fishtown/dbt/env/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 110, in _invoke

return original_invoke(self, arguments, autoescape)


 "/Users/drew/fishtown/dbt/env/lib/python3.7/site-packages/jinja2/runtime.py", line 579, in _invoke

rv = self._func(*arguments)


 "dbt-a67bac59d05187e871611b73", line 41, in macro

to_string(environment.call(context, (undefined(name='ref') if l_2_ref is missing else l_2_ref), 'idk')),


 "/Users/drew/fishtown/dbt/env/lib/python3.7/site-packages/jinja2/sandbox.py", line 438, in call

return __context.call(__obj, *args, **kwargs)


 "/Users/drew/fishtown/dbt/env/lib/python3.7/site-packages/jinja2/runtime.py", line 262, in call

return __obj(*args, **kwargs)


 "/Users/drew/fishtown/dbt/core/dbt/context/runtime.py", line 44, in do_ref

if target_model_id not in model.get('depends_on', {}).get('nodes'):
TypeError: argument of type 'NoneType' is not iterable

Traceback (most recent call last):


 "..../python3.8/site-packages/ScoutSuite/core/conditions.py", line 45, in pass_conditions

res = pass_condition(target_obj, test_name, test_values)


 "..../python3.8/site-packages/ScoutSuite/core/conditions.py", line 119, in pass_condition

result = a not in b
TypeError: argument of type 'NoneType' is not iterable
