check if buildtime-trend dir exists before cloning, otherwise update git repo