Why there's this check for `gitFtpEnabled` and again lower at line 15?