Workaround PG::Error in lo_unlink when oid doesn't point to a LO

Instead of this, we should not store an oid in the first place.