In remotes, check that the base directory exists and is a directory. This should catch many cases of mistyped remote names that end up referring to non-directories and (with -u) can end up causing much accidental damage.