Actually register GadgetRepos properly

Change-Id: Ie95e125cd8bce4e9dc50345e806eadc8d2b00ea6
Merge "Actually register GadgetRepos properly" into RL2