xci: Fix the Gerrit Trigger clone issue for external scenarios