get_unstaged_files: don't double-account for new files