database: Fix panic and consistent receivers
Created by: ryanslade
Fixed a panic when counting the number of repos since ensureStore wasn't called.
Also renamed all receivers to 'o'
Created by: ryanslade
Fixed a panic when counting the number of repos since ensureStore wasn't called.
Also renamed all receivers to 'o'