CB-5091: Use cwd option rather than shell.cd when cloning plugin repos