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