Fix generation of luns for ctld(8)

Ticket:	#4929