diff --git a/benchbuild/utils/db.py b/benchbuild/utils/db.py
index <HASH>..<HASH> 100644
--- a/benchbuild/utils/db.py
+++ b/benchbuild/utils/db.py
@@ -96,7 +96,7 @@ def persist_project(project):
 
     name = project.name
     desc = project.__doc__
-    domain = project.domain
+    domain = str(project.domain)
     group_name = project.group
     version = str(project.variant)
     try:
Ensure a project domain string conversion (#<I>)

Ensure that a projects domain is converted to a string before storing it

to the database. This is useful for projects that define their domain as

a to string convertable object.