diff --git a/src/runtime.c b/src/runtime.c
index 93ec9486a17ceec0b73adff25144f7bad57fd5f6..0041e5613bd2cd68d4d2f79ea4407e9fa47c7441 100644
--- a/src/runtime.c
+++ b/src/runtime.c
@@ -1168,12 +1168,12 @@ pv_runtime_use_host_graphics_stack (PvRuntime *self,
       g_ptr_array_add (vulkan_icd_details, icd_details_new (icd));
     }
 
-  g_assert (multiarch_tuples[G_N_ELEMENTS (multiarch_tuples) - 1] == NULL);
-
   /* We set this FALSE later if we decide not to use the host libc for
    * some architecture. */
   self->all_libc_from_host = TRUE;
 
+  g_assert (multiarch_tuples[G_N_ELEMENTS (multiarch_tuples) - 1] == NULL);
+
   for (i = 0; i < G_N_ELEMENTS (multiarch_tuples) - 1; i++)
     {
       g_autofree gchar *tool = g_strdup_printf ("%s-capsule-capture-libs",