DAM-252: Fixing rake:discovery task