Clean up stale repo dir, add safe.directory for git as root, and chown repo to builder before makepkg.