Fix logging of linekey when line has no stock