Fixed xdevcfg detection