Fix return value of invalid fetch

The Doctrine API returns false, not null from fetch() in case the id is not valid.