->lines always returns a list, so to get the first line, the result must...

... be captured as a list.