Prevent null pointer invocation
We were already checking if it's null, it wouldn't make sense to invoke it anyway.