Returns a list of directories that have been cleaned by removing unnecessary characters such a " \\", "//" or "./".