index.js: fix repo counts when chaging backends

Fixes the repo count when changing back to patchdemo vm backend from catalyst backend

Merge request reports

Loading