Fix the use of the workdir parameter in generate-names.pl. See #506