Fix faulty directory logic, 0.19.2