Make getCorrectName() dynamic.

I won't have to add new names to the list, because they are
automatically added. This also works for plugins that register new
requirements.