Make result uploading check for google tradefed availability

Previously, the result uploading functionality only checks for credential availability. Since aosp-with-phones branch has the credentials available but not google tradefed, when requesting TF result upload, the behavior is different from aosp:

main -> upload results
aosp -> no op
aosp-with-phones -> error

This CL fixes the issue so that both aosp and aosp with phones will be no op when requesting TF result upload.

Test: atest atest_unittests
Change-Id: I468fd2b3fc4aa89428b98d87a2cab41fb25232d2
2 files changed