HPCC-11509 ESP cache of packagemap info leaking connections

A couple of uses of getPackageMapById leaked the resulting Dali connection and
thus left the packagemap locked.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>