The install() method is working fine with new version of func (func 0.24) on fedora 10 with updating following packages.
rpm 184.108.40.206 is updated to 4.6.0
rpm-pyhton 220.127.116.11 updated to 4.6.0
there is no unwanted messages this time..
The bug is filed at Red Hat Bugzilla. The link is given below
The bug from the code has also been fixed. If the package name is not defined it will display an appropriate message.
Here is link to code