Use 'repack -a -d -l' instead of 'repack -a -d' in git-gc