Won't apt_components.each handle the empty list correctly?