[backend] ensure that new and legacy rpm-md repos get produced