Rory McIlroy narrowly avoided a stroke penalty in Abu Dhabi after Marco Penge's caddie spotted his lost ball just in time.