libxbps: make sure to not add dups in transaction for install/update.