osd: find_object_context() Handle case where snaps vector is empty

Assuming that there isn't some fixable race condition which could cause find_object_context() to see an empty snaps vector, we can simply merge this fix to handle the case.