Remove unneeded package entries