diff --git a/src/sakia/data/entities/node.py b/src/sakia/data/entities/node.py
index 6c7bb24cff1d5d1c1bd66e0facb1248034bfbfb7..e1e560d5626c32c25db82d70a0c4259982533354 100644
--- a/src/sakia/data/entities/node.py
+++ b/src/sakia/data/entities/node.py
@@ -10,11 +10,14 @@ def _tuple_of_endpoints(value):
         l = [endpoint(e) for e in value]
         return tuple(l)
     elif isinstance(value, str):
-        list_of_str = value.split('\n')
-        conv = []
-        for s in list_of_str:
-            conv.append(endpoint(s))
-        return conv
+        if value:
+            list_of_str = value.split('\n')
+            conv = []
+            for s in list_of_str:
+                conv.append(endpoint(s))
+            return conv
+        else:
+            return []
     else:
         raise TypeError("Can't convert {0} to list of endpoints".format(value))