Fix resolving of the relative Config.package_dir path.

When in the Dir.chdir(staging_dir) block, it incorrectly
resolves to a directory in the staging_dir

This causes all OSX dmg builds to fail.