core: fix resolution of orphan packages
core: fix resolution of orphan packages

Fix a bug were distant packages with no owner were not deleted.

tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs