HPCC-10497 Invalid installed bundle can canse ecl-bundle to core

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5540 from richardkchapman/ecl-bundle-core

HPCC-10497 Invalid installed bundle can canse ecl-bundle to core

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>