Fix get-directory-path
Correct path->directory