Saw some references from https://bugzilla.redhat.com/show_bug.cgi?id=715108 createrepo fails with an indexerror