Fix CPT test for tag branch (#333)
Fix CPT test for tag branch (#333)

- test_upload_when_tag_is_false was validating the branch by git
  commands

Signed-off-by: Uilian Ries <d4bad57018205bdda203549c36d3feb0bfe416a7@gmail.com>
conan-io/conan-package-tools