[Libguestfs] [PATCH nbdkit incomplete 2/5] lib: Use replacement strategy for get_current_dir_name.