Small rewrite.
Allow passing wildcards to App::environment().