Fixed warning about path.existsSync