Fix for https://rt.cpan.org/Public/Bug/Display.html?id=98111

Error messaging has changed slightly which breaks t/basic.t.