Nonlinear penetration of an inhomogeneous laser beam in an overdense plasma