Fix handling of cache option.

Setting the cache option to false (which is the only meaningful value, as far as I can tell) isn't picked up when looking for options by testing for truthy values.