if no slashes in the name, return "."