Default on rootPath if gitRoot is not defined