avoid using 'git cherry' when there is no branch being tracked