Fix protocol validation in `fetch-licenses`.
Fix protocol validation in `fetch-licenses`.

Test: Ran local tests.
Change-Id: I8c90fbbe466ae201e957b07ddbc563be71e0cee1

AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx