CORE-4804: Removed code that adds trailing slashes to directory names in
(list-paths).