(pup-2292) stronger tests on yumrepo's properties

When you set => absent on a yumrepo property, the result is a string in
ruby. However, it happens that we expect only a :symbol there in the
tests.