fix: tar#srcs is optional (#785)

diff --git a/lib/tar.bzl b/lib/tar.bzl
index 3dd7a65..e8051a7 100644
--- a/lib/tar.bzl
+++ b/lib/tar.bzl
@@ -103,7 +103,7 @@
     if mtree == "auto":
         mtree_spec(
             name = mtree_target,
-            srcs = kwargs["srcs"],
+            srcs = kwargs.get("srcs", []),
             out = "{}.txt".format(mtree_target),
             **propagate_common_rule_attributes(kwargs)
         )
@@ -111,7 +111,7 @@
         expand_template(
             name = mtree_target,
             out = "{}.txt".format(mtree_target),
-            data = kwargs["srcs"],
+            data = kwargs.get("srcs", []),
             # Ensure there's a trailing newline, as bsdtar will ignore a last line without one
             template = ["#mtree", "{content}", ""],
             substitutions = {