build: apply_profile: remove some special packages when installation changes, e.g. ffweimar -> ffsundi