packages: prefer http over git for git protocol