forked from gitea/gitea

It seems that `opts.RefFullName` may occassionally be set to just the branch name, without the `refs/heads/` prefixing.
It seems that `opts.RefFullName` may occassionally be set to just the branch name, without the `refs/heads/` prefixing.