make the extracted variables available in subsequence templates when executing in a workflow fix projectdiscovery/nuclei#4797