Is this specific to empty repos, or to any scenario where the branch doesn't exist? Arguably they're different scenarios.