Check that web cache exists before loading it
@@ -166,6 +166,7 @@ class RemoteConf(LocalConf):
except RequestException as e:
LOG.error("RequestException fetching remote location: {}"
.format(str(e)))
+ if exists(cache) and isfile(cache):
location = load_commented_json(cache).get('location')
if location:
