repository: fix config related test

Fix the build.