Resultify generate reports

This is part of AT-646.
Is the return value supposed to be different between these two cases?  (If not, the `return` could be brought outside the conditional.)