Revert "Revert "Revert "Revert "Automatically register repo tests.""""

This reverts commit d0b951beeff2e4dc2693177be2acd6b0cd14f8a2.

Change-Id: Idc11440312fa229a2c53aee092756cbfc9ea8381