The oil return from the sump is usually aerated as the pump has more capacity than the main oil pump. Hence it tends to suck some air as well as oil.
Have you recently topped up the oil tank? It could be that the oil has returned to the oil tank and come out the overflow tube which is normally positioned near the back of the engine. As it was on its side stand it may have appeared to come from the alternator cover, but actually may have come from the oil tank.