Fix cluster configuration directory checking