Author: Petr Škoda
MDL-27856 support restore of cohort in the same site
http://git.moodle.org/gw?p=moodle.git;a=commit;h=94335e5a97b0f613db9976d0937f3bf89dd8aa97
http://github.com/moodle/moodle/commit/94335e5a97b0f613db9976d0937f3bf89dd8aa97
+ 2.4 en [instanceexists,enrol_cohort]