check for invalid diskLayout.getChain() returning null instead of empty array