I face this same issue all the time too. Airport security is still so unaware, it is very annoying.
I have the same question. That might be an easier way out, to put pump in hand bag during the check. I travel a lot but have never tried it.
The waves of a remote Indian airport scanner should be much milder so if your pump survived a full body scan in Germany, according to me it should definitely survive the Indian ones.
Should try it though.