Fix error when cache doesn't exist (very first time)