Handle cases where refname is tags/foo

Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
1 file changed