Fixes an additional bug reported in the closed #24216.
resolvePosix
sub_path
addFilePostContents
ConfigHeader.getOutputDir