Essential spectrum of a periodic waveguide with non-periodic perturbation