Ensure patches directory gets created