fixing problems with non-standard repositories