t1301-shared-repo.sh: fix 'stat' portability issue