Fix the generate_strings_list helper

This should fix the problem with generating the reports for UI tests