builtin-reset: avoid forking "update-index --refresh"