checking wfdir for pegasus