OS-2274: 'imgadm avail' blows up with "Cannot read property 'length' of undefined" if cannot reach one of the sources