Investigation of passive edge emission in charge exchange spectra at the ASDEX Upgrade tokamak