Remove unused code from yum plugin