Revert "distro: remove convert_rpmdb_hash."

This reverts commit 755e51a1f791ff9054701680a28f4c353ec12f4d.
Merge pull request #26 from hansode/fix-rhel5-rpmdb

Revert "distro: remove convert_rpmdb_hash."