Under the left case/chain cover is the oil pump with oil pressure sending unit.
Make sure the wire is securely attached to the sending unit. Check the wire for any indication of being pinched, or damaged when the case cover was installed.
Also check the connector to the main wiring harness. The oil pressure, and neutral light wiring get combined with the main alternator harness. This is know to be a problem with corrosion buildup. Make sure it is clean, and tight. If the connector looks burnt, or damaged. Replace it.