HPCC-11287 Avoid including files in query hash if package resolves every...

...thing

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>