sparse-checkout: avoid staging deletions of all files