Fixed collapsed pwd in include the first letter for dot directories