Fix fails due to pyfits.core