Making sure generate pyconf runs before replace pyconf

Change-Id: I1097b95dc5e627b541925d704dc294174d11635c