Optimized previous commit not to spam the config hash if `config[:scopes]` is empty