Removes dependencies that are not found