resolve rootFolder from cwd()