Fix using --capabilities and --openlayers

cache['http_url'], cache['http_urls'] and cache['hosts'] can also be False.

fix #170