Is it possible that path does not end in a slash?