fix another edge case will dup mode and multiversion packages [bnc#828389]
fix copy/paste bug in repo_rpmdb_pubkey.c