kbls: don't crash if spline fit to find a minimum fails
kbls: don't crash if spline fit to find a minimum fails

waqasbhatti/astrobase,lgbouma/astrobase,lgbouma/astrobase,lgbouma/astrobase,waqasbhatti/astrobase,waqasbhatti/astrobase