diff --git a/pressure-vessel/runtime.c b/pressure-vessel/runtime.c
index b0712c4aa45b092a91013f1ef901e0c4a44da5a3..8af25be2b6c1b6b686c2a56efdada4b47c75747d 100644
--- a/pressure-vessel/runtime.c
+++ b/pressure-vessel/runtime.c
@@ -2867,8 +2867,8 @@ pv_runtime_use_provider_graphics_stack (PvRuntime *self,
                                       provider_etc_dest,
                                       NULL);
 
+              flatpak_bwrap_set_env (temp_bwrap, "PATH", "/usr/bin:/bin", TRUE);
               flatpak_bwrap_add_args (temp_bwrap,
-                                      "env", "PATH=/usr/bin:/bin",
                                       "readlink", "-e", arch->ld_so,
                                       NULL);
               flatpak_bwrap_finish (temp_bwrap);