Remove dead code

Remove unneeded check as constructor can never return null
and so there is no way for the object to be null