Only release the lock when we found no presentity.

The "different body" hack check should not release the lock, nor reset
the presentity pointer. The purpose is only to work around the snom
PUBLISH bug.