Indirect dark matter detection in the light of sterile neutrinos