fix when branch contains '/'