Merge branch 'rs/obsd-getcwd-workaround'