Fix package compare errors being ignored.

This would lead to package comparisons erronously being considered
true, when they were really errors. Interestingly, the test that
revealed this (07_packages/repositories.cf), only revealed the problem
when the its test files were in a certain order on disk, since that
influenced the comparison order.
Merge pull request #985 from kacfengine/master

Fix package compare errors being ignored.