Looks like this maybe *ought* to be an error?
If not, remove the dead line, and maybe explain where+why the [None] result would be expected :  As it seems it may be breaking the usage contract, as it appears in generate_translations ?).