Fix github get revision