Directories in path should not end in a slash.