diff --git a/stack/erp5.cfg b/stack/erp5.cfg
index 90dd17b6ebef363f160afcabbde2be8cd7d8e4ed..e3e28f9866b48b74c4426b37841baaeef2ec1be1 100644
--- a/stack/erp5.cfg
+++ b/stack/erp5.cfg
@@ -280,8 +280,8 @@ initialization =
   sys.path[:0] = [os.path.join(parts_directory, x, 'tests')
                   for x in repository_id_list]
   sys.path[:0] = sum((
-    glob.glob(os.path.join(parts_directory, x, 'product', '*', 'tests'))
-    for x in repository_id_list), [])
+    glob.glob(os.path.join(x, '*', 'tests'))
+    for x in reversed('''${products:list}'''.split())), [])
 
 [test_suite_runner]
 # XXX: Workaround for fact ERP5Type is not an distribution and does not