Fixed cd/ls bug with root directory