Fixes to get python cart work with rhc app create.

[merge]