allow repo token to be empty.