[backend] fix creation of legacy rpm-md updateinfo repositories .... and test it.