Currently, the RPM plugin is fetching data via external calls to /usr/bin/rpm rather than using the native Python calls which bind to librpm.
Some pointers at: http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch-rpm-programming-python.html