correct implementation of github_resolve_ref.github_release