CURATOR-646: Fix RAT failure reports and add a CI task to prevent regression (#428)