hack to get proper revision before generating configure/*py