Is the repeater field on the same post as the select field that you’re trying to load?
I also don’t understand this if(!isset($_GET['post'])) return array();
The only time this function will be run is when the field dependency
is being loaded on the post page, unless you’re using the same field name somewhere else.