On the fundamental group of an orbit space