The influence of laser focusing conditions on the direct laser acceleration of electrons