Minor fixing wrong error message if array is not set see BT#8606