Better checking whether using migemo

This is related to #34