Use `buildpath` instead of `Dir.pwd`.