Consistent %{release} handling for packages built from git