Fix shtuc-local-root when not in git repository.