update check for using clone vs pull