Config dir searching fix