Pull request/dont cache empty objects

Sometimes AWS S3 would return a bogus object with path set to false and no dirname key in the array, which would make AbstractCache::has() choke, because $path was set to false and, subsequently, Util::pathinfo would choke, because the array returned by pathinfo() would not have the "dirname" key set in the response array.