use null instead of false as a return value

@see
https://github.com/doctrine/DoctrinePHPCRBundle/pull/166/files#r17511339