Write namespace/primary cart dir correctly for v2
Merge pull request #2204 from pmorie/dev/env_var

Merged by openshift-bot