The install() method is working fine with new version of func (func 0.24) on fedora 10 with updating following packages.
rpm 220.127.116.11 is updated to 4.6.0
rpm-pyhton 18.104.22.168 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