Performance improvement for Rpminfo test.