Fix UPS driver list reader to exclude comments

Ticket:	#4567
(cherry picked from commit 3b0934275c98bf03e9dd84859e8af81f94582e2c)