As of today REST init data are loaded via require_once and loaded code depend on what was previously executed. The issue was spotted with remove of code on SVN side that led to an error in program management rest init data. The later did not properly load all the needed classes but it was working because everything got loaded by chance.