Fix #2813: Ignore self dependency

Now it ignores self dependency on ready-to-install check.

cc: @schneems