mark broken repos and delete them whenever possible
moved localrpc init before config init to make sure no corruption occours