trans_find_pkg(): search for reverts match with correct pkgver
tests: add test case for reverts which simulates a full workflow.