ignore cwdFlag / configPathFlag when value is not string