[SECURITY-158] GitSCMSource needed to be checked as well.
Amends c8e984b.