when selecting a branch, if main or master exist they should be set as the default instead of a blank string