JBDS-2452 : only set persistence unit name when console node exists

Signed-off-by: Fred Bricon <fbricon@gmail.com>