gerrit_plugin: factor out single quotes around exclude paths

Reduces boilerplate and helps avoid trivial typos when adding new paths
to the list.

Change-Id: Ifd5a836837f6a93bb3187a039c6a69a552e96a1d
diff --git a/gerrit_plugin.bzl b/gerrit_plugin.bzl
index 6dd2a5d..ffa6384 100644
--- a/gerrit_plugin.bzl
+++ b/gerrit_plugin.bzl
@@ -155,14 +155,17 @@
     )
 
     EXCLUDES = " ".join([
-        "'META-INF/LICENSE'",
-        "'META-INF/LICENSE.txt'",
-        "'META-INF/NOTICE'",
-        "'META-INF/NOTICE.txt'",
-        "'META-INF/license'",
-        "'META-INF/license/*'",
-        "'META-INF/notice'",
-        "'META-INF/notice/*'",
+        "'META-INF/%s'" % p
+        for p in [
+            "LICENSE",
+            "LICENSE.txt",
+            "NOTICE",
+            "NOTICE.txt",
+            "license",
+            "license/*",
+            "notice",
+            "notice/*",
+        ]
     ])
     genrule2(
         name = name + target_suffix,