fixed dependency solver when pkg is in repo and AUR

Fix edge case when a package is available in AUR and
also provided in repo by another package at the same time,
but with different version. Bash side only, the internal
solver provided by cower need additional work.