monitoring/definitions: Make repo updater readable
Created by: indradhanush
I was working on adding a new observable to this file and found it difficult to parse and understand the structure as a first time contributor to this part of the codebase. Refactored it to make it easier to read.
Easier viewed without hidden whitespace changes.