Fix notice-level error when cache not configured

When no cache is configured, code generates a notice in <code>Cache::get()</code> because <code>static::$options['expire']</code> is not set. Check for null <code>static::$adapter</code> should happen before anything else in <code>Cache::get()</code>.