The executive compound of Massoud Barzani , the president of Iraq 's autonomous Kurdistan Regional Government , sits high on a ridge along the northern edge of the Mesopotamian plain , on a spot that was once a summer resort under the former regime .