Fixing error with working dir in shutdown phase

Signed-off-by: RedChrome <redchrome@gmx.de>