Fix wf name retrieval.