Fix notice when cache is skipped. Also don't set the cache if skipped