print error when getting branches from Stash fails