[KARAF-3129] Fix RAT failures