[VOL-3780] Importing keywords from the global library

Change-Id: I7445bb938d5a4b3e9d0f714080e2ddba7cb3a944
diff --git a/vars/loadToKind.groovy b/vars/loadToKind.groovy
index 520aee2..7df6bc5 100644
--- a/vars/loadToKind.groovy
+++ b/vars/loadToKind.groovy
@@ -19,7 +19,12 @@
   def list = images.split("\n")
 
   for(int i = 0;i<list.size();i++) {
-    def image = list[i]
+    def image = list[i].trim()
+
+    if (!image) {
+      return
+    }
+
     println "Loading image ${image} on Kind cluster ${cfg.name}"
 
     sh """