fix uninitialized warning to make smoke tests happy

Name could be undef when $Dashboard isn't created yet