Fixed 'NSInvalidArgumentException' when trying to store nil object to NSCache

It is just crashing without that :)