Remove unmatchable dependencies