improved name detection in Mojolicious::Plugin::Config