Fix argument passing to Gerrit external hooks