I made the repositoryid's use the same naming convention as the temporary repo filenames themselves, which is to replace any spaces in the name with an underscore. This resolves https://bugzilla.redhat.com/show_bug.cgi?id=768945