fix repoquery when a package update exists for C lib

replace repoquery with repoqueryLib