BUG/MINOR: ssl/cli: unable to update a certificate without bundle extension

Commit bc6ca7c ("MINOR: ssl/cli: rework 'set ssl cert' as 'set/commit'")
broke the ability to commit a unique certificate which does not use a
bundle extension .{rsa,ecdsa,dsa}.
diff --git a/src/ssl_sock.c b/src/ssl_sock.c
index 98b3ad8..7b2f102 100644
--- a/src/ssl_sock.c
+++ b/src/ssl_sock.c
@@ -10327,6 +10327,8 @@
 						break;
 					}
 				}
+				if (bundle < 0) /* we didn't find a bundle extension */
+					break;
 			}
 #else
 			/* bundles are not supported here, so we don't need to lookup again */