
If $gerrit.basePath contains ".git" in the top level directory (that is, its a Git repository with a working directory), don't try to import a project with an empty name. Skip the path. Change-Id: I1eaf1e0a6189771ccb827094d0419c26ec7f03a2 Signed-off-by: Shawn O. Pearce <sop@google.com>