When compile failed,get packages from git repo