Allow user to specify reference repos to reduce downloading

Change-Id: Ia9b7dd58517fdd501fcbaeeccad45c59459d33a7