fixes to yum repo creation