Check for config options only inside the before_configuration hook

This fixes calling "bundle console" from Rails, without this change we
get the following error:

     undefined method `action_view' for
     #<Rails::Railtie::Configuration:0x007fdb842b4cd0> (NoMethodError)`