Evaluate the cwd lazily so resources can update it
If only a single directory is unpacked, set suffix if not set