Effect of target material on relativistic electron beam transport