config: bring back Getwd logic

see
https://github.com/felixge/godrone/commit/683f794a00df3c4cf3f469084062375fdf4a6d1a#commitcomment-4864487