There is no mention of the HubHAB light in the source novel; there, the HubHAB transmits a homing signal that can be picked up by a suit or a rover. Watney uses this signal when returning with Pathfinder.
The only reason I can think comes from Kyle Jones' comment. It could be possible that the signal transmitted by HubHAB might not be "visible" during a storm, while a light would. This is not very likely though, as the Hub'sHAB's signal was capable of transmitting as far as 100 km (at very best), or 40 km (normal range).
Your last line is basically correct - there is no reason whatsoever for the HubHAB to have this searchlight. Other than Ridley Scott's genius, I suppose.