Bugfix/multiarch upgrade

This fixes a bug in the check for negative dependencies. The negative check also acts on packages that are not going to get installed.