Adapted the null-check to new Jersey's behaviour.