artifacts: BundleChromeOSConfig no error on missing config

Do not error when the artifact cannot be generated in
BundleChromeOSConfig. The artifact is expected to be missing
if the builder errors before the sysroot is built.

BUG=b:209652987
TEST=./run_tests

Change-Id: I7e4267c7dc9eb72eeb395ebe875e63f263a49749
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3321673
Tested-by: Alex Klein <saklein@chromium.org>
Auto-Submit: Alex Klein <saklein@chromium.org>
Reviewed-by: Lizzy Presland <zland@google.com>
Commit-Queue: Alex Klein <saklein@chromium.org>
diff --git a/api/controller/artifacts.py b/api/controller/artifacts.py
index 5586fea..f11daa6 100644
--- a/api/controller/artifacts.py
+++ b/api/controller/artifacts.py
@@ -591,10 +591,9 @@
 
   sysroot = sysroot_lib.Sysroot(sysroot_path)
   chromeos_config = artifacts.BundleChromeOSConfig(chroot, sysroot, output_dir)
-  if chromeos_config is None:
-    cros_build_lib.Die(
-        'Could not create ChromeOS Config payload. No config found for %s.',
-        sysroot.path)
+  if not chromeos_config:
+    return
+
   output_proto.artifacts.add().path = os.path.join(output_dir, chromeos_config)