fix rc_file handling while cloning an app. Add "origin" db to env so you could update the origin if you have rights.
fix rc_file handling while cloning an app. Add "origin" db to env so you
could update the origin if you have rights.

benoitc/erica,perplexes/couchapp,h4ki/couchapp,benoitc/erica,dustin/couchapp,diderson/couchapp,flimzy/couchapp,flimzy/couchapp,h4ki/couchapp,perplexes/couchapp,perplexes/couchapp,dustin/couchapp,flimzy/couchapp,perplexes/couchapp,couchapp/couchapp,couchapp/couchapp,couchapp/couchapp,h4ki/couchapp,couchapp/couchapp,h4ki/couchapp,diderson/couchapp,dustin/couchapp,diderson/couchapp,diderson/couchapp,flimzy/couchapp