4da165a1a96ea84bad2cc97ddc2b0f381d11fc7e
diff --git a/gi/repo.c b/gi/repo.c
index cb36fa8..d997871 100644
--- a/gi/repo.c
+++ b/gi/repo.c
@@ -313,14 +313,6 @@ gjs_define_repo(JSContext  *context,
 {
     JSObject *repo;
 
-    if (gjs_environment_variable_is_set("GJS_USE_UNINSTALLED_FILES")) {
-        const char *builddir = g_getenv("BUILDDIR");
-
-        if (builddir != NULL) {
-            g_irepository_prepend_search_path(builddir);
-        }
-    }
-
     repo = repo_new(context);
 
     if (!JS_DefineProperty(context, module_obj,
