Check also if obj is not None

We encountered this issue when restoring a database backup. At that moment the database had different data than the harvest object queue and the whole fetch_consumer failed because obj.source raised an exception (as obj was None).

This little fix solves the problem on 1.8, I don't know if also the 2.0 is affected.