diff --git a/image_creator/os_type/ubuntu.py b/image_creator/os_type/ubuntu.py
index 7b73ab4d96e6c8915c67044a00b5e5ba52af679f..1c6724bfa10e82e292b28f6977c4b792ae7a9ce9 100644
--- a/image_creator/os_type/ubuntu.py
+++ b/image_creator/os_type/ubuntu.py
@@ -30,7 +30,7 @@ class Ubuntu(Linux):
 
         super(Ubuntu, self)._do_collect_metadata()
 
-        regexp = re.compile('^(k|l|x)?ubuntu-desktop$')
+        regexp = re.compile('^(k|l|x)ubuntu-desktop$')
         variant = ""
         for app in self.image.g.inspect_list_applications(self.root):
             match = regexp.match(app['app_name'])