Fix for lightcurve tests on build server