compare strings with is

Using `is_deeply` to make this comparison leads to confusing failure messages when the function returns the empty list.  `is` imposes scalar context, casting the empty list to `undef` and preserving the failure message.