Your equation falls in the category of regular singular differential equation. Writing your equation as
$$
x z'=a z+g(x,z),
\tag{$\ast$}$$
the singularity is called regular because the exponent of the singularity at zero is the same as the order of derivatives. Examples are Bessel equations
$
x^2z''+xz'+(x^2-\nu^2) z=0,
$
which can be written as a $2\times 2$ system of your type. Going back to $(\ast)$ for $g=0$, you get on the real line all the homogeneous distributions of degree $a$, that is
$$
z_{\alpha, \beta}(x)=\alpha x_+^a+\beta x_-^a,\quad x_+^a=H(x) x^a, \quad x_-^a=H(-x)(-x)^a,
$$
where $H=\mathbf 1_{\mathbb R_+}$. On the complex plane, you need a priori to withdraw a half-line starting at 0 to define a logarithm and you get
$$
z=\alpha e^{a \text{Log x}},
$$
which has no holomorphic extension except if $a\in \mathbb N$ or $\alpha =0$. In general setting $t=\text{Log x}$, $z(e^t)=\zeta (t)$,
you find the equation
$$
\dot \zeta=a\zeta+ g(e^t,\zeta),
$$
which has no singular point.