diff --git a/config.json b/config.json
index c4d29aebc9cc..61c751a00634 100644
--- a/config.json
+++ b/config.json
@@ -1305,7 +1305,7 @@
             }
         },
         "metrics-gitstats" : {
-            "NEEDREPOS" : [],
+            "NEEDREPOS" : ["bitbake", "meta-openembedded"],
             "step1" : {
                 "shortname" : "Generate gitstats",
                 "EXTRACMDS" : ["${SCRIPTSDIR}/run-gitstats ${BUILDDIR}/../"]
