Updated create_yum_repo()
Updated tests to comply with recent change in create_yum_repo()