Refs #5377 - adapting to new pulp task structure

enables dynflow repo create and sync
Merge pull request #4039 from jlsherrill/pulp-2.4

Refs #5377 - adapting to new pulp task structure
Refs #5377 - Fix the repository support class