install: use get() in _get_config_value_for_remote

Fixes: #6080
Signed-off-by: Sage Weil <sage@inktank.com>
Tested-by: Tamil Muthamizhan <tamil.muthamizhan@inktank.com>
(cherry picked from commit de270b080b7a59ce198dc3df601880d830f386db)