The effect of parallel inhomogeneity on magnetospheric hydromagnetic wave coupling