It's quite possible to play sharps and flats on a whistle. Most players will use a D whistle to play in the key of D or G - otherwise they'd have to change whistles every time the key changed. Your whistle player was therefore playing in the relative minor of G which is Em.