Force work_directory to local full-path using get_path()

work_directory is passed to g_spawn_async_with_pipes(), which need a local
full-path(not URI) directory.

https://bugzilla.gnome.org/show_bug.cgi?id=724556