Here's a patch that fixes a bug I've noticed in vc-find-root. When called with `invert' equal to `t', the current implementation is returning `file' verbatim if a file name is given, and also if `witness' doesn't exist at all. In the former case we should return the directory where witness resides, and in the latter, `nil'. This patch implements such behaviour.