environment needs to passed into recursive calls of _recurse_entity
diff --git a/reclass/core.py b/reclass/core.py
index 197654b..a19dd86 100644
--- a/reclass/core.py
+++ b/reclass/core.py
@@ -104,7 +104,7 @@
                     raise e
 
                 descent = self._recurse_entity(class_entity, seen=seen,
-                                               nodename=nodename)
+                                               nodename=nodename, environment=environment)
                 # on every iteration, we merge the result of the recursive
                 # descent into what we have so far…
                 merge_base.merge(descent)