uac: safety check to be sure the reg hash table is initialized

- reported by Alex Villacís Lasso

(cherry picked from commit b1900f66cc4acd254f1e6750538f31a3653fcd7f)