GNUTOOLS-14843 fix none SpcItemGitVersion checkout
BugFix: branch based checkout in the spec file caused traceback
Fixed the interface of the checkout method for SpcItemGitVersion class.
BugFix: branch based checkout in the spec file caused traceback
Fixed the interface of the checkout method for SpcItemGitVersion class.