Disable config.interactive also when terminal is not a tty or --json was specified.