frontend: Extract logic from for loop so it can be traced
Created by: ryanslade
We loop over all external services trying to find a repo name from a clone URL. It looks like one of them is slow but we can't trace which one until we extract into a separate function and add tracing.