Fix patches directory variable name