return if we have no object id
Merge pull request #313 from opencredit/empty-obj-logging-fix

Don't create log entry without an object to log