Fix resolving of the relative Config dir attributes

When in the Dir.chdir(staging_dir) block, it incorrectly
resolves to a directory in the staging_dir

This fix changes the attributes to allow specifying a type
which will cause a value being set to be expanded if its
:path