diff --git a/lib/cdist/core/object.py b/lib/cdist/core/object.py
index 2f1d93c4..4cbcd550 100644
--- a/lib/cdist/core/object.py
+++ b/lib/cdist/core/object.py
@@ -68,7 +68,7 @@ class Object(object):
         self.base_path = base_path
         self.object_id = object_id
         self.name = os.path.join(self.type.name, self.object_id)
-        self.path = os.path.join(self.type.path, self.object_id)
+        self.path = os.path.join(self.type.path, self.object_id, DOT_CDIST)
         self.absolute_path = os.path.join(self.base_path, self.path, DOT_CDIST)
         self.code_local_path = os.path.join(self.path, "code-local")
         self.code_remote_path = os.path.join(self.path, "code-remote")