diff --git a/common/sanity-check b/common/sanity-check
index 8573af3238e8a46471ed83371c9656863fdb3ecd..18d153dcb8bb4892da8deab2310899af9aa578bd 100755
--- a/common/sanity-check
+++ b/common/sanity-check
@@ -49,10 +49,7 @@ test -S /run/user/$(id -u user)/bus || fail user-bus-is-up
 test -e /etc/debian_version || fail has-debian_version
 cat /etc/os-release || fail os-release
 grep -E '^NAME=("?)Apertis\1$' /etc/os-release || fail os-release-name
-# This should really test for apertis, but that would currently
-# fail - see https://phabricator.apertis.org/T2117 - so they also
-# allow Ubuntu
-grep -E '^ID=("?)(apertis|ubuntu)\1$' /etc/os-release || fail os-release-id
+grep -E '^ID=("?)apertis\1$' /etc/os-release || fail os-release-id
 
 if ! test -S /run/user/$(id -u user)/wayland-0; then
     common/run-test-in-systemd --user=user --name=x11-works -- xterm -e /bin/true