971167 - during repo sync, before each RPM's XML snippet from primary.xm...

...l gets saved to the database, the <location/> tag is modified so that the href attribute contains only the file name, and no other leading path or URL elements. This matches the expectation that files are published at the root of the repository.

https://bugzilla.redhat.com/show_bug.cgi?id=971167