assert causes failure when cache is not present and we are building from scratch