handshake CHANGE do not print revision= in capability when model does not have revision
diff --git a/src/session.c b/src/session.c
index 08315ec..f63ab5b 100644
--- a/src/session.c
+++ b/src/session.c
@@ -619,7 +619,8 @@
                 continue;
             }
 
-            str_len = sprintf(str, "%s?module=%s&revision=%s", ns->value_str, name->value_str, rev->value_str);
+            str_len = sprintf(str, "%s?module=%s%s%s", ns->value_str, name->value_str,
+                              rev->value_str[0] ? "&revision=" : "", rev->value_str);
             if (feat_count) {
                 strcat(str, "&features=");
                 str_len += 14;