BS-7796, fix cache of platform, in a special case we need to acces the plaform classloader and also to retrieve the platform but without transaction