diff --git a/slapos/grid/distribution.py b/slapos/grid/distribution.py
index 1761d909fd302b34daec8fc7968df300d673c70f..23b1cec9bc2d7ad04db4d54481bdb6d1e3e49301 100644
--- a/slapos/grid/distribution.py
+++ b/slapos/grid/distribution.py
@@ -55,6 +55,7 @@ def _debianize(os):
     minor releases would be seen as not compatible to each other.
     """
     distname, version, id_ = os
+    distname = distname.lower()
     if distname == 'debian' and '.' in version:
         version = version.split('.')[0]
     return distname, version, id_