Fix build select
- Fixing the case where repos and build repos are disabled if one or other is diasbled.
- Refactoring mocks and some parts of the code.
- Still need to refactor repeating code for DRY.
UNCLASSIFIED - NO CUI
Currently supported Big Bang Version is 2.30
UNCLASSIFIED - NO CUI