Adds functionality to enable an upstream repo

The upstream repo enabled is in place of the production
or stage repos. Delorean is the first example but others
could be added.

Change-Id: I2fe3c6c1b6b2ff3d8c523072471ef2e478a965eb