Adding upstream tag fetch before checking version.