localrepo.add: avoid some stats
There's still an extra lstat done by dirstate.update.
*** failed to import extension badext: bit bucket overflowextension 'hgext.gpg' overrides commands: sigs sigcheck signhg help [COMMAND]show help for a command, extension, or list of commands