Make `fetch: if_needed` fetch existing branches
As discussed in tor-browser-build#41281 (closed), we can change fetch: if_needed
to only avoid fetching when the specified revision is a
git tag, or a full git hash. The goal would be to have branches being
fetched.