slapos_crm: Move check for hasReportedError

   Moving logic to SoftwareInstallation_hasReportedError allow us reuse the logic on SupportRequest_recheckMonitoring script.
1 job for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds