Remove non-existing dependencies