Allow bare repos to be used for reference in make-source-package

Change-Id: I5dd23513ddca9d631dc97ecf7ab7146271c2820c