fix: Possible nil pointer dereference in repocreds API (#5130)
fix: Possible nil pointer dereference in repocreds API (#5130)

Signed-off-by: jannfis <1ff1d5ceb421971f93e6626b02a9591b29d7600e@mistrust.net>
argoproj/argo-cd,argoproj/argo-cd,argoproj/argo-cd,argoproj/argo-cd,argoproj/argo-cd