Quick fix sml/get-directory.