diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile
index 137bdb1200539387c8fae992920a05773ba4c378..2d97a06b3d0e621e75af32849019a1f78310b776 100644
--- a/ci/Jenkinsfile
+++ b/ci/Jenkinsfile
@@ -73,6 +73,10 @@ pipeline {
             env.CI_APT_SOURCES_FILE = ''
           }
 
+          if (env.CI_ALLOW_MISSING_SOURCES != 'true') {
+            env.CI_ALLOW_MISSING_SOURCES = ''
+          }
+
           if (!env.CI_EXTRA_APT_SOURCES) {
             env.CI_EXTRA_APT_SOURCES = ''
           }
@@ -137,6 +141,7 @@ pipeline {
               _build/prefix/bin/pressure-vessel-build-relocatable-install \
                 --output "${WORKSPACE}/relocatable-install" \
                 --archive "${WORKSPACE}" \
+                ${CI_ALLOW_MISSING_SOURCES:+--allow-missing-sources} \
                 ${NULL+}
               prove -v ./tests/relocatable-install.py :: \
                 "${WORKSPACE}/relocatable-install"
diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml
index 80512c702e3f1d0c03b69409a36745cd667175cf..430e49fcff1797fa9288e6ee73a505180b7e700c 100644
--- a/debian/gitlab-ci.yml
+++ b/debian/gitlab-ci.yml
@@ -26,6 +26,8 @@ variables:
     SCOUT_APT_SOURCES_FILE: ''
     DEVEL_DOCKER_REGISTRY: docker.steamos.cloud
     DEVEL_DOCKER_IMAGE: steamos/package-builder:buster
+    # Set non-empty to allow
+    CI_ALLOW_MISSING_SOURCES: ''
 
 build:
     variables:
@@ -96,6 +98,7 @@ build:scout:
             _build/prefix/bin/pressure-vessel-build-relocatable-install \
               --output _build/relocatable-install \
               --archive "$(pwd)/_build" \
+              ${CI_ALLOW_MISSING_SOURCES:+--allow-missing-sources} \
               ${NULL+}
             prove -v ./tests/relocatable-install.py :: \
               "$(pwd)/_build/relocatable-install"
diff --git a/debian/tests/relocatable-install b/debian/tests/relocatable-install
index 6c3685befd2e49fc0b273f3148d328fcb358b9cb..5bd50727a8e23285290c36ecbeff6aba509b3551 100755
--- a/debian/tests/relocatable-install
+++ b/debian/tests/relocatable-install
@@ -10,6 +10,7 @@ apt-get -y install \
     ${NULL+}
 
 /usr/lib/pressure-vessel/relocatable/bin/pressure-vessel-build-relocatable-install \
+    ${CI_ALLOW_MISSING_SOURCES:+--allow-missing-sources} \
     --output "${AUTOPKGTEST_TMP}/relocatable-install" \
     --archive "${AUTOPKGTEST_TMP}"