Update RuntimeObjectSystem.cpp

Bugfix null check on logger.