SAST / Secret Detection configuration UI should handle the case when the repo is empty
Proposal
As discussed in #321282 (comment 567422616) an empty repo will cause a 500 if you try enable Secret Detection in the configuration UI. If you try to go to the SAST configuration page on an empty repo, then it will error and show no configuration options.