Branch should only be used for version when repo tag is true.