export: Let --cwd accept absolute or relative path
test: Update to test --cwd option