Branch change in PE did not work with empty repositories.