`!strings.HasPrefix(remoteURL, "http://") && !strings.HasPrefix(remoteURL, "https://")`
can just be:
`!utils.IsURL(remoteURL)`
can't it?