don't trim path when the dir is just "."