Only check for the config file, if we have a $this->app['extensions']->composer. See #1655.