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