diff --git a/cdist/config_install.py b/cdist/config_install.py
index e74145b0..7c7a876d 100644
--- a/cdist/config_install.py
+++ b/cdist/config_install.py
@@ -135,8 +135,8 @@ class ConfigInstall(object):
         self.log.info("Generating and executing code")
 
         objects = core.CdistObject.list_objects(
-            self.local.object_path,
-            self.local.type_path)
+            self.context.local.object_path,
+            self.context.local.type_path)
 
         dependency_resolver = resolver.DependencyResolver(objects)
         self.log.debug(pprint.pformat(dependency_resolver.dependencies))