tools: autoreg uses RibRegisterCommand

refs #1710

Change-Id: I158817af5f25d97f11a81b4e03d2523157f49c7d