Reverse light socket ground wire

The socket should ground through the housing and there should only be one wire to feed the bulb.
Check the random wire with a test light before you hook any socket in. There might be an issue somewhere else. Or may be someone just needed a couple sockets and "snip" !