Handle strict version conflicts correctly

Handle version conflicts like 'x>1' and 'x<=1'.

Change-Id: I5cfab2d8b3428ad6c772931011f0cefd3eb74ab7
Fixes: bug #1208335