Fix disabling dirs that are not found