Use `||`, e.g. foreman_url = SETTINGS[:url] || 'https://foreman'