Support empty lines in vc conversion tool

Change-Id: Ideb01fd9fbcf5cdc4ae0f5e7dcc3eea3d376017c
diff --git a/tools/list2vc.pl b/tools/list2vc.pl
index cc02746..c632ec7 100755
--- a/tools/list2vc.pl
+++ b/tools/list2vc.pl
@@ -1,4 +1,8 @@
 #!/usr/bin/env perl
+
+
+
+package main;
 use strict;
 use warnings;
 
@@ -47,6 +51,13 @@
   my $line = readline($fh);
   chomp $line;
 
+
+  # Skip empty lines
+  if (!$line || length($line) == 0 || $line =~ /^[\s\t\n]*$/) {
+    # empty
+    next;
+  };
+
   # Get text sigles
   if ($line =~ m!^([^\/]+\/){2}[^\/]+$!) {
     push @{$data{text}}, $line;