pegasus-dagman is a wrapper that is used to launch condor dagman .
If on a condor cluster the DAGMAN_COPY_TO_SPOOL is set to true in the condor config file, pegasus dagman is copied to the condor spool directory before being launched. And hence, it is unable to construct the python path for the other pegasus python libraries ( it constructs the python path relative to the directory where it is ) .
Because of this the pegasus dagman condor job always has
copy_to_spool = False
Right now on Atlas it is picked up from the condor config file , and is eventually set to True