ENH: fixes + mimic nd_querycfg with a direct python query so could be used without neurodebian-devel installed