Memcached returns FALSE on failure

... so it's not required to check for NULL, too.
The note Memcached returns NULL was a miss information in changelog of memcached-2.0

PS: It's not a bug - it's an improvement as the result will be same ;)