Fix segfault in sr_rpm_package_uniq

Signed-off-by: Martin Milata <mmilata@redhat.com>
Signed-off-by: Michal Toman <mtoman@redhat.com>