add enable check for only when in sg repo
Created by: burmudar
Implements #37040 comment
Disable the Programming & Languages
category when we're not in the SG repository, otherwise we might install the wrong versions!
Also added the resaon why a category was skipped to the output
Test plan
Manual testing