support both pycondor and condor plugin
Merge pull request #5247 from ticoann/pycondor_condor_plugin_config

support both pycondor and condor plugin