This reverts commit ca4ee9b0026092bfcbd6221bb55874a6b64bc9f2. --configdir is not supported in some projects