cd to repo root when in preview window on preview commit