ENH:  Modified logic for needing a reference image in light of recent changes..