I second droppping `getCwd()` completely, it's unnecessary.