Avoid errors cleaning up assets for older rails trees