Also made `get_current_drive()` to pick the longest match on Unix. (cherry picked from commit 67f04b381b)
67f04b381b