fix get_current_dir_name behavior
[musl] / lib /
drwxr-xr-x   ..
-rw-r--r-- 0 empty