This law helps both the homeowner and legitimate contractors