Long time existence of regular solutions to non-homogeneous Navier-Stokes equations