update getMinMaxXZFromMissionFile

misplaced error message now corrected and fully tested.