Fix autoupdate error when using develop branch without Git