fix: reverted fix while keeping changed meta tag.

@bpinsard - reverting the fix while keeping name source. too many doctests started failing. the intent of spec.genfile or spec.name_source is when the input is undefined, not when its defined.