Hello,
I solved the issue, it was actually my mistake: there was another query before the custom fields that needed to be reset.
I posted the working snippet here: http://wordpress.stackexchange.com/questions/188440/acf-pro-repeater-field-returns-null