framework/workload: Fix resolve_packge_from_target
framework/workload: Fix resolve_packge_from_target

This currently raises an error undonditionally when self.package is set, fix the
indentation so it only does that if it isn't installed on the target.

lisatn/workload-automation,lisatn/workload-automation,setrofim/workload-automation,ARM-software/workload-automation,setrofim/workload-automation,ARM-software/workload-automation,lisatn/workload-automation,ARM-software/workload-automation,setrofim/workload-automation,setrofim/workload-automation,lisatn/workload-automation,ARM-software/workload-automation