diff --git a/scapy/__init__.py b/scapy/__init__.py
index a0e7094df28b98336e66015c98502aab064ba744..3126c5e412b2621267e67e2dea8c5c88e4781e7a 100644
--- a/scapy/__init__.py
+++ b/scapy/__init__.py
@@ -80,9 +80,9 @@ def _version():
             sha1 = git_archive_id.strip().split()[0]
             match = re.search(r'tag:(\S+)', git_archive_id)
             if match:
-                return match.group(1)
+                return "git-archive.dev" + match.group(1)
             elif sha1:
-                return sha1
+                return "git-archive.dev" + sha1
             else:
                 return 'unknown.version'