Do not return a repo if it does not exist.
Switch to using a repo instead of build settings.
Bypass build settings again.
Cleanup.
Remove build setting.