fix for when the git clone gets triggered too many times