Can't call a function under sudo, dummy!

Luckily, the two places I tried to already have 'don't do this if you
don't need to' logic, so I can just use a normal 'git clone' in that
case.

Auditors: chris

Test plan:
Fingers crossed.