Fix errors in gites.import tests ## affinitic #4837