Make projects import script more robust.