The idea of using a loose-fitting cap or cotton plugs when growing strictly aerobic bacteria is to avoid contamination by airborne microorganisms. Cotton plugs alone will achieve this so the use of Al foil alongside is unnecessary and might even somewhat impede ventilation. However, it's probably more important to constantly agitate the tubes to ensure aeration.