just update if $opt->{remote_config}

Signed-off-by: Thiago Rondon <thiago.rondon@gmail.com>