use ClassUtils::getClass when refreshing a document to not fail on proxies

we have one place in the UoW where we should not have used a get_class but ClassUtils::getClass to not stumble over proxies.