Change Device.parse_uri_config to not rescue uri parsing exceptions