No need to do that. `promise` will be null and the return statement below will do the right thing.