Implemented more efficient way of getting yum repo configuration [#2001]