Fix script interface for jackknifing

Checking the number of custom_axes was failing when None was specified,
this has been fixed in this commit.

Thanks for catching this one @antgonza.